package models.vo {

  	import org.restfulx.collections.ModelsCollection;
  	import org.restfulx.models.RxModel;
  
  	[Resource(name="estados")]

  	[Bindable]
  	public class Estado extends RxModel 
  	{
    	public static const LABEL	:	String = "nome";

    	public var nome				:	String;
    	public var codigo			:	String;
    	public var uf				:	String;

    	[HasMany]
    	public var municipios		:	ModelsCollection;
    
    	public function Estado() 
    	{
      		super(LABEL);
    	}
  	}
}
